package com.whl.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.whl.basic.domain.BaseDomain;
import lombok.Data;

import java.util.Date;

@Data
public class Shop extends BaseDomain {
    // 店铺名称
    @Excel(name = "店铺名称", width = 10)
    private String name;
    // 电话
    @Excel(name = "电话", width = 10)
    private String tel;
    // 入驻时间
    @Excel(name = "入驻时间", width = 30, exportFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date registerTime = new Date();
    // 状态
    @Excel(name = "状态", width = 10)
    private Integer state;
    // 地址
    @Excel(name = "地址", width = 40)
    private String address;
    // 店铺logo
    @Excel(name = "店铺logo", width = 50)
    private String logo;
    // 店长
    @Excel(name = "店长", width = 50)
    private Long admin_id;
    // 店长对象
    private Employee employee;

}

